<!doctype html>


<html>
<head>
  <link rel="shortcut icon" href="static/images/favicon.ico" type="image/x-icon">
  <title>stacktrace (Closure Library API Documentation - JavaScript)</title>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/doc.css">
  <link rel="stylesheet" href="static/css/sidetree.css">
  <link rel="stylesheet" href="static/css/prettify.css">

  <script>
     var _staticFilePath = "static/";
     var _typeTreeName = "goog";
     var _fileTreeName = "Source";
  </script>

  <script src="static/js/doc.js">
  </script>


  <meta charset="utf8">
</head>

<body onload="grokdoc.onLoad();">

<div id="header">
  <div class="g-section g-tpl-50-50 g-split">
    <div class="g-unit g-first">
      <a id="logo" href="index.html">Closure Library API Documentation</a>
    </div>

    <div class="g-unit">
      <div class="g-c">
        <strong>Go to class or file:</strong>
        <input type="text" id="ac">
      </div>
    </div>
  </div>
</div>





<div class="colmask rightmenu">
<div class="colleft">
    <div class="col1">
      <!-- Column 1 start -->

<div id="title">
       <span class="fn">testing.stacktrace</span>
</div>

<hr/>


  <h2>Classes</h2>
 <div class="fn-constructor">
        <a href="class_goog_testing_stacktrace_Frame.html">
          goog.testing.stacktrace.Frame</a><br/>
        <div class="class-details">Class representing one stack frame.
</div>
 </div>
   
<br/>

  <div class="legend">
        <span class="key publickey"></span><span>Public</span>
        <span class="key protectedkey"></span><span>Protected</span>
        <span class="key privatekey"></span><span>Private</span>
  </div>









<div class="section">
  <table class="horiz-rule">


  </table>
</div>




  <h2>Global Functions</h2>





<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.callSitesToFrames_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">callSitesToFrames_<span class="args">(<span class="arg">stack</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&gt;
      </div>


     <div class="entryOverview">
       Converts an array of CallSite (elements of a stack trace in V8) to an array
of Frames.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">stack</span>
        : <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type">CallSite</span>&gt;
        <div class="entryOverview">The stack as an array of CallSites.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&gt;&nbsp;
            The stack as an array of
    Frames.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line584">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.canonicalize"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">canonicalize<span class="args">(<span class="arg">stack</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Brings the stack trace into a common format across browsers.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">stack</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Browser-specific stack trace.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Same stack trace in common format.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line528">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.deobfuscateFunctionName_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">deobfuscateFunctionName_<span class="args">()</span>
        </span>
      </div>


     <div class="entryOverview">
       Function to deobfuscate function names.

     </div>

   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line415">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.followCallChain_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">followCallChain_<span class="args">()</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&gt;
      </div>


     <div class="entryOverview">
       Creates a stack trace by following the call chain. Based on
<code> goog.debug.getStacktrace</code>.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&gt;&nbsp;
            Stack frames.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line290">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.framesToString_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">framesToString_<span class="args">(<span class="arg">frames</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Converts the stack frames into canonical format. Chops the beginning and the
end of it which come from the testing environment, not from the test itself.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">frames</span>
        : <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&gt;
        <div class="entryOverview">The frames.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Canonical, pretty printed stack trace.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line472">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.get"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">get<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Gets the native stack trace if available otherwise follows the call chain.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The stack trace in canonical format.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line562">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.getNativeStack_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">getNativeStack_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type">CallSite</span>&gt;
      </div>


     <div class="entryOverview">
       Returns the native stack trace.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span><span>&nbsp;|&nbsp;</span><span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span>!</span><span class="type">CallSite</span>&gt;&nbsp;
            <span class='nodesc'>No description.</span>
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line539">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.htmlEscape_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">htmlEscape_<span class="args">(<span class="arg">text</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Escapes the special character in HTML.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">text</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Plain text.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            Escaped text.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line457">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.isClosureInspectorActive_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">isClosureInspectorActive_<span class="args">()</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>
      </div>


     <div class="entryOverview">
       <span class='nodesc'>No description.</span>
     </div>


    <! -- Method details -->
    <div class="entryDetails">

   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Boolean">boolean</a></span>&nbsp;
            Whether the Closure Inspector is active.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line445">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.maybeDeobfuscateFunctionName_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">maybeDeobfuscateFunctionName_<span class="args">(<span class="arg">name</span>)</span>
        </span>
        &#8658; <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
      </div>


     <div class="entryOverview">
       Deobfuscates a compiled function name with the function passed to
<code> #setDeobfuscateFunctionName</code>. Returns the original function name if
the deobfuscator hasn't been set.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">name</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The function name to deobfuscate.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>&nbsp;
            The deobfuscated function name.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line435">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.parseLongFirefoxFrame_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">parseLongFirefoxFrame_<span class="args">(<span class="arg">frameStr</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>
      </div>


     <div class="entryOverview">
       Parses a long firefox stack frame.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">frameStr</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The stack frame as string.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&nbsp;
            Stack frame object.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line389">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.parseStackFrame_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">parseStackFrame_<span class="args">(<span class="arg">frameStr</span>)</span>
        </span>
        &#8658; <span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>
      </div>


     <div class="entryOverview">
       Parses one stack frame.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">frameStr</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">The stack frame as string.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&nbsp;
            Stack frame object or null if the
    parsing failed.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line349">code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.parse_"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">parse_<span class="args">(<span class="arg">stack</span>)</span>
        </span>
        &#8658; <span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&gt;
      </div>


     <div class="entryOverview">
       Parses the browser's native stack trace.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">stack</span>
        : <span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/String">string</a></span>
        <div class="entryOverview">Stack trace.</div>
     </td>
   </tr>
  </table>
      </div>
   
      <div class="detailsSection">
        <b>Returns:</b>&nbsp;<span>!</span><span class="type"><a href="https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array">Array</a></span>.&lt;<span class="type"><a href="class_goog_testing_stacktrace_Frame.html">goog.testing.stacktrace.Frame</a></span>&gt;&nbsp;
            Stack frames. The
    unrecognized frames will be nulled out.
      </div>
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line513">code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry public">
       <td class="access"></td>






  <td>
    <a name="goog.testing.stacktrace.setDeobfuscateFunctionName"></a>


     <div class="arg">
       <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">setDeobfuscateFunctionName<span class="args">(<span class="arg">fn</span>)</span>
        </span>
      </div>


     <div class="entryOverview">
       Sets function to deobfuscate function names.

     </div>


    <! -- Method details -->
    <div class="entryDetails">

      <div class="detailsSection">
        <b>Arguments: </b>






<table class="horiz-rule">
     
   <tr class="even">
     <td>
        <span class="entryName">fn</span>
        : <span class="type">function(string): string</span>
        <div class="entryOverview">function to deobfuscate function names.</div>
     </td>
   </tr>
  </table>
      </div>
   
  
    </div>
   
  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line422">code &raquo;</a>
  </td>
     </tr>


  </table>
</div>



  <h2>Global Properties</h2>





<div class="section">
  <table class="horiz-rule">


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.CHROME_ALIAS_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">CHROME_ALIAS_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for function name alias in the Chrome stack trace.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line131">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.CHROME_FUNCTION_CALL_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">CHROME_FUNCTION_CALL_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for function call in the Chrome stack trace.
Creates 3 submatches with context object (optional), function name and
function alias (optional).

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line153">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.CHROME_FUNCTION_NAME_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">CHROME_FUNCTION_NAME_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for function names and constructor calls in the Chrome stack
trace.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line141">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.CHROME_STACK_FRAME_REGEXP_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">CHROME_STACK_FRAME_REGEXP_</span>
        : 
     </div>


     <div class="entryOverview">
       Regular expression for parsing one stack frame in Chrome.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line185">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.CHROME_URL_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">CHROME_URL_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for an URL + line number + column number in Chrome.
The URL is either in submatch 1 or submatch 2.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line173">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.FIREFOX_FUNCTION_CALL_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">FIREFOX_FUNCTION_CALL_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for function call in the Firefox stack trace.
Creates 2 submatches with function name (optional) and arguments.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line196">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.FIREFOX_STACK_FRAME_REGEXP_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">FIREFOX_STACK_FRAME_REGEXP_</span>
        : 
     </div>


     <div class="entryOverview">
       Regular expression for parsing one stack frame in Firefox.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line206">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.FUNCTION_SOURCE_REGEXP_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">FUNCTION_SOURCE_REGEXP_</span>
        : 
     </div>


     <div class="entryOverview">
       Regular expression for finding the function name in its source.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line256">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.IDENTIFIER_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">IDENTIFIER_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for JavaScript identifiers. We don't support Unicode
identifiers defined in ECMAScript v3.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line123">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.IE_FUNCTION_CALL_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">IE_FUNCTION_CALL_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for function call in a IE stack trace. This expression allows
for identifiers like 'Anonymous function', 'eval code', and 'Global code'.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line267">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.IE_STACK_FRAME_REGEXP_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">IE_STACK_FRAME_REGEXP_</span>
        : 
     </div>


     <div class="entryOverview">
       Regular expression for parsing a stack frame in IE.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line277">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.MAX_DEPTH_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">MAX_DEPTH_</span>
        : 
     </div>


     <div class="entryOverview">
       Maximum number of steps while the call chain is followed.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line102">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.MAX_FIREFOX_FRAMESTRING_LENGTH_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">MAX_FIREFOX_FRAMESTRING_LENGTH_</span>
        : 
     </div>


     <div class="entryOverview">
       Maximum length of a string that can be matched with a RegExp on
Firefox 3x. Exceeding this approximate length will cause string.match
to exceed Firefox's stack quota. This situation can be encountered
when goog.globalEval is invoked with a long argument; such as
when loading a module.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line114">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.OPERA_ANONYMOUS_FUNCTION_NAME_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">OPERA_ANONYMOUS_FUNCTION_NAME_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for an anonymous function call in an Opera stack frame.
Creates 2 (optional) submatches: the context object and function name.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line218">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.OPERA_FUNCTION_CALL_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">OPERA_FUNCTION_CALL_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for a function call in an Opera stack frame.
Creates 4 (optional) submatches: the function name (if not anonymous),
the aliased context object and function name (if anonymous), and the
function call arguments.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line234">Code &raquo;</a>
  </td>
     </tr>


     <tr class="odd entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.OPERA_STACK_FRAME_REGEXP_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">OPERA_STACK_FRAME_REGEXP_</span>
        : 
     </div>


     <div class="entryOverview">
       Regular expression for parsing on stack frame in Opera 11.68+

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line246">Code &raquo;</a>
  </td>
     </tr>


     <tr class="even entry private">
       <td class="access"></td>





  <a name="goog.testing.stacktrace.URL_PATTERN_"></a>

  <td>


     <div class="arg">
        <img align="left" src="static/images/blank.gif">

        <span class="entryNamespace">goog.testing.stacktrace.</span><span class="entryName">URL_PATTERN_</span>
        : 
     </div>


     <div class="entryOverview">
       RegExp pattern for an URL + position inside the file.

     </div>

  </td>


  <td class="view-code">
     <a href="local_closure_goog_testing_stacktrace.js.source.html#line163">Code &raquo;</a>
  </td>
     </tr>


  </table>
</div>
      <!-- Column 1 end -->
    </div>

        <div class="col2">
          <!-- Column 2 start -->
          <div class="col2-c">
            <h2 id="ref-head">Package testing</h2>
            <div id="localView"></div>
          </div>

          <div class="col2-c">
            <h2 id="ref-head">Package Reference</h2>
            <div id="sideTypeIndex" rootPath="" current="testing.stacktrace"></div>
          </div>
          <!-- Column 2 end -->
        </div>
</div>
</div>

</body>
</html>
